<div class="col-md-2">
    <div class="box box-solid">
        <div class="box-header with-border">
            <h3 class="box-title">系统管理</h3>
            <div class="box-tools">
                <button type="button" class="btn btn-box-tool" data-widget="collapse"><i
                            class="fa fa-minus"></i>
                </button>
            </div>
        </div>
        <div class="box-body no-padding">
            <ul class="nav nav-pills nav-stacked">
                @if (Auth::guard('admin')->user()->canPerm('admin-users'))
                <li @if ($name === 'user')class="active" @endif>
                    <a href="/admin/users"><i class="fa fa-inbox"></i> 员工管理</a>
                </li>
                @endif
                @if (Auth::guard('admin')->user()->canPerm('admin-permissions'))
                <li @if ($name === 'permission')class="active" @endif>
                    <a href="/admin/permissions"><i class="fa fa-inbox"></i> 权限管理</a>
                </li>
                @endif
                @if (Auth::guard('admin')->user()->canPerm('admin-roles'))
                <li @if ($name === 'role')class="active" @endif>
                    <a href="/admin/roles"><i class="fa fa-inbox"></i> 角色管理</a>
                </li>
                @endif
                @if (Auth::guard('admin')->user()->canPerm('admin-menus'))
                <li @if ($name === 'menu')class="active" @endif>
                    <a href="/admin/menus"><i class="fa fa-inbox"></i> 菜单管理</a>
                </li>
                @endif
                <li style="background: #eee;height: 5px;"></li>
                {{--<li @if ($name === 'supplier')class="active" @endif>--}}
                    {{--<a href="/Ms/Admin/supplier_list"><i class="fa fa-inbox"></i> 供应商管理</a>--}}
                {{--</li>--}}
            </ul>
        </div>
    </div>
</div>